package com.hhit.bigscreenbackmanage.dao.tgygl;

import com.hhit.bigscreenbackmanage.entity.tgygl.TTgyglEngineeringPlanActualSpeed;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TTgyglEngineeringPlanActualSpeedMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TTgyglEngineeringPlanActualSpeed record);

    int insertSelective(TTgyglEngineeringPlanActualSpeed record);

    TTgyglEngineeringPlanActualSpeed selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TTgyglEngineeringPlanActualSpeed record);

    int updateByPrimaryKey(TTgyglEngineeringPlanActualSpeed record);

    /**
     * 根据年份或者月份删除数据
     * @param month
     * @param year
     * @return
     */
    void deleteByNfAndFf(int year, int month);

    List<TTgyglEngineeringPlanActualSpeed> selectByBean(TTgyglEngineeringPlanActualSpeed tTgyglEngineeringPlanActualSpeed);
}